package com.company.zhishidian.zhujie;

import com.company.zhishidian.zhujie.Zhuji;

/**
 * 和注解与反射通用的例子
 */
@Zhuji(value = "aaa",name = {"bill","sam","jack"})
public class MyClass{

    @Zhuji(value = "bbb",name = {"bill","sam","jack"})
    private int age;

    @Zhuji(value = "ccc",name = {"bill","sam","jack"})
    public  String method(String s){
        System.out.println("Myclass ID"+s);
        return s+"hllo";
    }

    public MyClass(int str){
        System.out.println("Myclass ID"+str);
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
